/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package db.server.DTO;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author QuangKhai
 */
public class DeleteQueryDTO {    
    private List<String> _from;
    private List<ExpressionDTO> _where;
    private String _linkWhere;
    private SelectQueryDTO _childQuery;

    public DeleteQueryDTO(){
        _from = new ArrayList<String>();
        _where = new ArrayList<ExpressionDTO>();
        _linkWhere = "";
        _childQuery = null;
    }
    /**
     * @return the _from
     */
    public List<String> getFrom() {
        return _from;
    }

    /**
     * @param from the _from to set
     */
    public void setFrom(List<String> from) {
        this._from = from;
    }

    /**
     * @return the _where
     */
    public List<ExpressionDTO> getWhere() {
        return _where;
    }

    /**
     * @param where the _where to set
     */
    public void setWhere(List<ExpressionDTO> where) {
        this._where = where;
    }

    /**
     * @return the _linkWhere
     */
    public String getLinkWhere() {
        return _linkWhere;
    }

    /**
     * @param linkWhere the _linkWhere to set
     */
    public void setLinkWhere(String linkWhere) {
        this._linkWhere = linkWhere;
    }

    /**
     * @return the _childQuery
     */
    public SelectQueryDTO getChildQuery() {
        return _childQuery;
    }

    /**
     * @param childQuery the _childQuery to set
     */
    public void setChildQuery(SelectQueryDTO childQuery) {
        this._childQuery = childQuery;
    }
}
